Global Index
HTML5 JS API Index > DOM Tutorials & Specs

HTMLTemplateElement

Extends HTMLElement.

The template element is used to declare fragments of HTML that can be cloned and inserted in the document by script.

Properties
DocumentFragment
content
The content IDL attribute must return the template element's template contents.